<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../css/popup.css"/>

<link rel="stylesheet" type="text/css" href="../css/kapiform.css"/>
<script type="text/javascript">
    var open_cur = 0;
    $j = jQuery.noConflict();
    $j(document).ready(function(){
              
    

    });
</script>
<f:view>
   
    <h:form>

        <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>

        <div class="popup" style="height:150px; width:350px">
            <div class="popup-header">
                <div class="title"><h:outputText value="#{locale.delete_data}"/></div>
            </div>
            <div class="popup-content">
                <div class="main_content" style="padding:20px 84px">
                    <font style="font-weight:bold"><h:outputText value="#{locale.confirm_delele_data}"/></font>                   
                </div>
            </div>
            <div class="popup-footer">              
                <div class="buttonsave" onclick="jQuery.fancybox.close() "><span><h:outputText value="#{locale.close}"/></span></div>
                <a4j:commandButton action="#{CustomerBean.deleteCustomer}" value="#{locale.delete}" styleClass="buttonsave">
                </a4j:commandButton>
                <h:inputHidden value="#{CustomerBean.pn100}" id="pn100"/>
            </div>
        </div>

    </h:form>
</f:view>
        <script type="text/javascript">
            $j(document).ready(function(){
                 yhight = ($j('.popup').height()-90)+"px" ;
                 $j('.main_content').css('height',yhight );
                 $j('.popup-content').css('height',yhight );
            });
        </script>